import request from "../utils/request.js";

export default {

    getCurrentSerialPort() {
        return request({
            url: '/rfid/currentSerialPort',
            method: 'get'
        })
    },

    getSerialPorts() {
        return request({
            url: '/rfid/serialports',
            method: 'get',
            data: {}
        })
    }
}